<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>商家资质证书</title>
	<link rel="stylesheet" type="text/css" href="js/font-awesome/css/font-awesome.css" />
	<link rel="stylesheet" type="text/css" href="css/common.css" />
	<link rel="stylesheet" type="text/css" href="css/lxm.css" />
	<script src="js/common/jquery-1.12.2.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/common/baseUrl.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/json3/3.3.2/json3.min.js"></script>
	<script src="js/artTemplate/template.js"></script>
</head>

<body class="zizhi">
	<div id="header">
		<div class="top">
			<div class="top-left">
				<i class="fa fa-map-marker "></i>
				<a href="javascript:void(0)" class="one">广州</a>
				<a href="javascript:void(0)" class="two">切换城市</a>
			</div>
			<div class="top-right">
				<a class="one">
					<i class="fa fa-user"></i> 朱莉
				</a>
				<a href="javascript:void(0)">退出</a>
				<a href="javascript:void(0)">帮助中心</a>
				<a href="javascript:void(0)">网站导航</a>
				<a href="javascript:void(0)">手机APP</a>
			</div>

		</div>
		<div class="searchBox">
			<div class="search">
				<div class="search-left">
					<h3>互生 <small>商家资质证书</small></h3>
				</div>
				<!--<div class="search-right">
						<div class="one">
							<input type="text" name="search" id="search" value="输入商家名称、分类或地区" placeholder="输入商家名称、分类或地区" />
							<a href="javascript:void(0)">
								<i class="fa fa-search"></i>
							</a>
						</div>

						<div class="two">
							<a href="#">运动健身</a>
							<a href="#">瑜伽</a>
							<a href="#">羽毛球</a>
							<a href="#">CS</a>
							<a href="#">农家乐</a>
							<a href="#">私人影院</a>
						</div>
					</div>-->

			</div>

		</div>

	</div>
	<!--主要内容-->
	<div id="content"></div>
	<script id="test" type="text/html">
		<div class="zizhiBox">
            <ul>
				{{each isCerti value}}
				<li>
					<div>
						<img src="{{value.licencePicture}}" />
					</div>
					<h4>{{value.licenceName}}</h4>
				</li>
				{{/each}}
			</ul>
		</div>
    </script>
	<script>
		var isShopId = "0600400007120190215";
		$.ajax({
			type: "get",
			url: baseUrl + "hsent-xxyl-user/store/selectCertificate",
			dataType: "json",
			data: {
				shopId: isShopId
			},
			success: function (res) {
				// console.log(res);
				var allCerti = res.data;
				// console.log(allCerti);

				var data = {
					isCerti: allCerti
				};
				var html = template('test', data);
				document.getElementById('content').innerHTML = html;
			},
			error: function (msg) {

			}
		});

	</script>
	<!--尾部-->
	<div class="foot" id="foot">
		<p>
			<strong>客服热线： </strong>
			<a href="javascript:void(0)">
				0755-83344111
			</a>
			<span class="foot-adition">2013-2018 </span>
			<span>
				深圳市互生电子商务有限公司
			</span>
			<span>
				粤ICP备案号14100052号
			</span>
		</p>
	</div>

</body>

</html>